home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgramD2.iso / Borland / Borland C++ V5.02 / CLASSSRC.PAK / CLASMAIN.CPP < prev    next >
C/C++ Source or Header  |  1997-05-06  |  813b  |  37 lines

  1. //----------------------------------------------------------------------------
  2. // Borland Class Library
  3. // Copyright (c) 1991, 1997 by Borland International, All Rights Reserved
  4. //
  5. //$Revision:   5.8  $
  6. //
  7. // Provides the main entry point function for the DLL version of the class
  8. // libraries
  9. //----------------------------------------------------------------------------
  10. #include <classlib/pch.h>
  11. #include <classlib/defs.h>
  12. #include <services/wsysinc.h>
  13. #include <tchar.h>
  14.  
  15. #if defined(BI_PLAT_WIN32)
  16.  
  17. int WINAPI DllEntryPoint(HINSTANCE /*hInstance*/, DWORD /*flag*/, LPVOID)
  18. {
  19.     return 1;
  20. }
  21.  
  22. #elif defined(BI_PLAT_WIN16)
  23.  
  24. extern "C" int FAR PASCAL LibMain(HINSTANCE, WORD, WORD, LPSTR)
  25. {
  26.     return 1;
  27. }
  28.  
  29. #elif defined(BI_PLAT_OS2)
  30.  
  31. int _tmain()
  32. {
  33.     return 0;
  34. }
  35.  
  36. #endif
  37.